Avoid recursive load of tramp.el
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 18 Apr 2014 18:57:04 +0000 (20:57 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 18 Apr 2014 18:57:04 +0000 (20:57 +0200)
commit0b118672b6b6d0c664b651ba28ae93d063064e35
treee184777d532752e8651ec70bf1d35052ea23648d
parentfac78280a00a0cce169614181b6aefb0d1841b4f
Avoid recursive load of tramp.el

* net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
Do not autoload.
(tramp-file-name-handler, tramp-completion-file-name-handler):
Revert patch from 2014-04-10, it isn't necessary anymore.
(tramp-autoload-file-name-handler)
(tramp-register-autoload-file-name-handlers): New defuns.
(top): Autoload call of `tramp-register-autoload-file-name-handlers'.
(tramp-register-file-name-handlers): Remove also
`tramp-autoload-file-name-handler' from `file-name-handler-list'.
Do not autoload its invocation, but eval it after loading of 'tramp.

* net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.

* net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
lisp/ChangeLog
lisp/net/tramp-adb.el
lisp/net/tramp-compat.el
lisp/net/tramp.el